using System.Collections;

namespace BearGame.Singleton
{
    /// <summary>
    /// 注入单例
    /// </summary>
    public interface ISingleton
    {
        public IEnumerator AsyncInit();

        /// <summary>
        /// 统一位置执行
        /// </summary>
        public void Init();

        public void OnRegister();

        public void OnCancel();
    }
}